From 86ee2f9f7536803f6a9eab6b45a95a70b5ae72a9 Mon Sep 17 00:00:00 2001 From: tsteven4 Date: Thu, 9 Nov 2017 09:17:50 -0700 Subject: [PATCH] enhance test_encoding to check up on gbfile. --- test_encoding | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/test_encoding b/test_encoding index cabe47fa5..44d9b49c4 100755 --- a/test_encoding +++ b/test_encoding @@ -30,6 +30,14 @@ if locale -a | grep -q en_US.iso88591 ; then echo "ERROR: The output file name was mangled." errorcount=`expr $errorcount + 1` fi + +# test output file name mangling using a format that uses gbfile + ${PNAME} -i gpx -f ${REFERENCE}/bounds-test.gpx -o unicsv -F ${TMPDIR}/file¢.csv + count=$(ls -1 -l ${TMPDIR}/file¢.csv | wc -l) + if [ $count -lt 1 ]; then + echo "ERROR: The output file name was mangled." + errorcount=`expr $errorcount + 1` + fi else echo "$0 cannot run without the en_US.iso88591 locale." fi -- 2.30.2